package com.qyhl.webtv.commonlib.entity;

import android.util.Log;

import java.io.Serializable;

/**
 * Created by qyhl on 2017/6/12.
 * Created by qyhl on 2017/12/12.
 */

public class Image implements Serializable {
    private String url;
    private int width;
    private int height;

    public Image(String url, int width, int height) {
        this.url = url;
        this.width = width;
        this.height = height;
        Log.i("Image", toString());
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    @Override
    public String toString() {
        return "image---->>url=" +
                url + "width=" +
                width + "height"
                + height;
    }
}

